package com.emuporium.gymrat.server.data;

import java.sql.Date;
import java.util.ArrayList;

import org.simpleframework.xml.Root;

@Root
public class LogEntry {

	private int id;
	
	private int routineId;
	private String routineName;
	
	private int exerciseId;
	private String exerciseName;
	
	private int variationId;
	private String variationName;
	
	private int equipmentId;
	private String equipmentName;
	
	private ArrayList<LogSet> sets;
	
	private Date dateWorked;
	
	public LogEntry(){
		sets = new ArrayList<LogSet>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getRoutineId() {
		return routineId;
	}

	public void setRoutineId(int routineId) {
		this.routineId = routineId;
	}

	public String getRoutineName() {
		return routineName;
	}

	public void setRoutineName(String routineName) {
		this.routineName = routineName;
	}

	public int getExerciseId() {
		return exerciseId;
	}

	public void setExerciseId(int exerciseId) {
		this.exerciseId = exerciseId;
	}

	public String getExerciseName() {
		return exerciseName;
	}

	public void setExerciseName(String exerciseName) {
		this.exerciseName = exerciseName;
	}

	public int getVariationId() {
		return variationId;
	}

	public void setVariationId(int variationId) {
		this.variationId = variationId;
	}

	public String getVariationName() {
		return variationName;
	}

	public void setVariationName(String variationName) {
		this.variationName = variationName;
	}

	public int getEquipmentId() {
		return equipmentId;
	}

	public void setEquipmentId(int equipmentId) {
		this.equipmentId = equipmentId;
	}

	public String getEquipmentName() {
		return equipmentName;
	}

	public void setEquipmentName(String equipmentName) {
		this.equipmentName = equipmentName;
	}

	public ArrayList<LogSet> getSets() {
		return sets;
	}

	public void setSets(ArrayList<LogSet> sets) {
		this.sets = sets;
	}

	public Date getDateWorked() {
		return dateWorked;
	}

	public void setDateWorked(Date dateWorked) {
		this.dateWorked = dateWorked;
	}
}
